\hypertarget{_python_calls_java_8h}{
\subsection{PythonCallsJava.h File Reference}
\label{_python_calls_java_8h}\index{PythonCallsJava.h@{PythonCallsJava.h}}
}


In this file declared functions, that are exported from the library.  


\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{_python_calls_java_8h_ab3834e2b42022e3e459b8933fca3560a}{amicoInitialize} (int nOptions=0,...)
\begin{DoxyCompactList}\small\item\em Intializes {\ttfamily amico} library. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_aad5a9b2d342f9fa499848b3835e1667a}{callBooleanArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
unsigned char \hyperlink{_python_calls_java_8h_ab0d7f5cadbd8bc5e4fcb6592f5fea484}{callBooleanMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_a4b515e00f4fd9c4049a22d541db16eaf}{callByteArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
signed char \hyperlink{_python_calls_java_8h_a6dfd141f95282f8eaf8933c43239b2f8}{callByteMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_aafe70ff94748c1f2dada42a2b9adb71f}{callCharArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
unsigned short \hyperlink{_python_calls_java_8h_a5981f90cc13645c487620af90ebfbbb9}{callCharMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_ad62c7eaa25a6451662776683d997839d}{callDoubleArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
double \hyperlink{_python_calls_java_8h_a8823c98cc1a700b0bc11f33811d0735b}{callDoubleMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_a97225f6326607b8ee108cf2bc451ea50}{callFloatArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
float \hyperlink{_python_calls_java_8h_a57ae77f651b12b6d87ada38de3ece551}{callFloatMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_ac7a4098bd5b32c8d9c29413b2e32a3f0}{callIntArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
int \hyperlink{_python_calls_java_8h_aaf713792968011c2cde5f7072df4a266}{callIntMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_a61dc69396abbc348bf6ff39221cfd1cb}{callLongArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
long \hyperlink{_python_calls_java_8h_a434ffb8601eb2fe5514188abeaf3df92}{callLongMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_aadcc0dbc3a2ea88ce2219e43cdbbb758}{callShortArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
short \hyperlink{_python_calls_java_8h_a0ab442f171a292858d79325a01c16a40}{callShortMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
PyObject $\ast$ \hyperlink{_python_calls_java_8h_aa02c281af74e1387183b776849f49c81}{callStringArrayMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
char $\ast$ \hyperlink{_python_calls_java_8h_a26d45f8e249da512169963a749c05391}{callStringMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
void \hyperlink{_python_calls_java_8h_aeb06b15b0b7b498ece994c99b3f81960}{callVoidMethod} (void $\ast$midUInt,...)
\begin{DoxyCompactList}\small\item\em Invokes an instance method, specified using a method ID. \item\end{DoxyCompactList}\item 
void \hyperlink{_python_calls_java_8h_a3a81e7d58cdb84e5f0aa2ae685d69bb0}{destroyEnvironment} ()
\begin{DoxyCompactList}\small\item\em Unloads {\ttfamily Java} class from the memory and destroys {\ttfamily JVM}. \item\end{DoxyCompactList}\item 
void $\ast$ \hyperlink{_python_calls_java_8h_a27596895923d8dd22bfe8acc49234abe}{getMethod} (const char $\ast$mName, const char $\ast$mSign)
\begin{DoxyCompactList}\small\item\em Gets an ID of the method and returns pointer to it. Pointer in {\ttfamily Python} is stored like a number. \item\end{DoxyCompactList}\item 
void \hyperlink{_python_calls_java_8h_a4ffcd31c6b497b6f63c7abc34e9672ad}{loadJavaClass} (const char $\ast$javaClassName)
\begin{DoxyCompactList}\small\item\em Loads a {\ttfamily Java} class in to the memory. \item\end{DoxyCompactList}\item 
void \hyperlink{_python_calls_java_8h_ad99601dff0a42852bc408d860ccbf358}{setSizeOfArrays} (unsigned int size, unsigned int $\ast$arrays)
\begin{DoxyCompactList}\small\item\em Sets size of passed to the AmiCo function array(s). \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
In this file declared functions, that are exported from the library. \begin{DoxyAuthor}{Author}
Sergey.Karakovskiy at idsia.ch, Nikolay.Sohryakov at gmail.com
\end{DoxyAuthor}
You can add your own functions to be exportd in the section {\itshape Custom\/} {\itshape Code\/} at the end of the file. Functions declared here are implemented in {\itshape \hyperlink{_python_calls_java_8cc}{PythonCallsJava.cc}\/} file. 

Definition in file \hyperlink{_python_calls_java_8h_source}{PythonCallsJava.h}.



\subsubsection{Function Documentation}
\hypertarget{_python_calls_java_8h_ab3834e2b42022e3e459b8933fca3560a}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!amicoInitialize@{amicoInitialize}}
\index{amicoInitialize@{amicoInitialize}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{amicoInitialize}]{\setlength{\rightskip}{0pt plus 5cm}void amicoInitialize (int {\em nOptions}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_ab3834e2b42022e3e459b8933fca3560a}


Intializes {\ttfamily amico} library. 

Creates a {\ttfamily JVM} with given startup options. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em nOptions}]Number of startup options. \item[{\em ...}]variable list of {\ttfamily JVM} startup options given as strings(i.e. each parameter is a separate startup option). \end{DoxyParams}


Definition at line 138 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aad5a9b2d342f9fa499848b3835e1667a}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callBooleanArrayMethod@{callBooleanArrayMethod}}
\index{callBooleanArrayMethod@{callBooleanArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callBooleanArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callBooleanArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aad5a9b2d342f9fa499848b3835e1667a}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callBooleanArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1226 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_ab0d7f5cadbd8bc5e4fcb6592f5fea484}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callBooleanMethod@{callBooleanMethod}}
\index{callBooleanMethod@{callBooleanMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callBooleanMethod}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char callBooleanMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_ab0d7f5cadbd8bc5e4fcb6592f5fea484}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callBooleanMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily unsigned} {\ttfamily char} type. 
\end{DoxyReturn}


Definition at line 876 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a4b515e00f4fd9c4049a22d541db16eaf}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callByteArrayMethod@{callByteArrayMethod}}
\index{callByteArrayMethod@{callByteArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callByteArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callByteArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a4b515e00f4fd9c4049a22d541db16eaf}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callByteArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1200 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a6dfd141f95282f8eaf8933c43239b2f8}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callByteMethod@{callByteMethod}}
\index{callByteMethod@{callByteMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callByteMethod}]{\setlength{\rightskip}{0pt plus 5cm}signed char callByteMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a6dfd141f95282f8eaf8933c43239b2f8}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callByteMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily signed} {\ttfamily char} type. 
\end{DoxyReturn}


Definition at line 845 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aafe70ff94748c1f2dada42a2b9adb71f}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callCharArrayMethod@{callCharArrayMethod}}
\index{callCharArrayMethod@{callCharArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callCharArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callCharArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aafe70ff94748c1f2dada42a2b9adb71f}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callCharArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1252 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a5981f90cc13645c487620af90ebfbbb9}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callCharMethod@{callCharMethod}}
\index{callCharMethod@{callCharMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callCharMethod}]{\setlength{\rightskip}{0pt plus 5cm}unsigned short callCharMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a5981f90cc13645c487620af90ebfbbb9}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callCharMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily unsigned} {\ttfamily short} type. 
\end{DoxyReturn}


Definition at line 814 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_ad62c7eaa25a6451662776683d997839d}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callDoubleArrayMethod@{callDoubleArrayMethod}}
\index{callDoubleArrayMethod@{callDoubleArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callDoubleArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callDoubleArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_ad62c7eaa25a6451662776683d997839d}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callDoubleArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1301 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a8823c98cc1a700b0bc11f33811d0735b}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callDoubleMethod@{callDoubleMethod}}
\index{callDoubleMethod@{callDoubleMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callDoubleMethod}]{\setlength{\rightskip}{0pt plus 5cm}double callDoubleMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a8823c98cc1a700b0bc11f33811d0735b}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callDoubleMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily double} type. 
\end{DoxyReturn}


Definition at line 973 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a97225f6326607b8ee108cf2bc451ea50}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callFloatArrayMethod@{callFloatArrayMethod}}
\index{callFloatArrayMethod@{callFloatArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callFloatArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callFloatArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a97225f6326607b8ee108cf2bc451ea50}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callFloatArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1275 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a57ae77f651b12b6d87ada38de3ece551}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callFloatMethod@{callFloatMethod}}
\index{callFloatMethod@{callFloatMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callFloatMethod}]{\setlength{\rightskip}{0pt plus 5cm}float callFloatMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a57ae77f651b12b6d87ada38de3ece551}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callFloatMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily float} type.
\end{DoxyReturn}
\begin{Desc}
\item[\hyperlink{todo__todo000001}{Todo}]fix explanation about how to pass float types parameters from {\ttfamily Python} \end{Desc}
\begin{DoxyAttention}{Attention}
pass options here like c\_\-double 
\end{DoxyAttention}


Definition at line 942 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_ac7a4098bd5b32c8d9c29413b2e32a3f0}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callIntArrayMethod@{callIntArrayMethod}}
\index{callIntArrayMethod@{callIntArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callIntArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callIntArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_ac7a4098bd5b32c8d9c29413b2e32a3f0}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callIntArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1122 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aaf713792968011c2cde5f7072df4a266}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callIntMethod@{callIntMethod}}
\index{callIntMethod@{callIntMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callIntMethod}]{\setlength{\rightskip}{0pt plus 5cm}int callIntMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aaf713792968011c2cde5f7072df4a266}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callIntMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily integer} type. 
\end{DoxyReturn}


Definition at line 721 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a61dc69396abbc348bf6ff39221cfd1cb}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callLongArrayMethod@{callLongArrayMethod}}
\index{callLongArrayMethod@{callLongArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callLongArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callLongArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a61dc69396abbc348bf6ff39221cfd1cb}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callLongArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1148 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a434ffb8601eb2fe5514188abeaf3df92}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callLongMethod@{callLongMethod}}
\index{callLongMethod@{callLongMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callLongMethod}]{\setlength{\rightskip}{0pt plus 5cm}long callLongMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a434ffb8601eb2fe5514188abeaf3df92}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callLongMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily long} type. 
\end{DoxyReturn}


Definition at line 783 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aadcc0dbc3a2ea88ce2219e43cdbbb758}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callShortArrayMethod@{callShortArrayMethod}}
\index{callShortArrayMethod@{callShortArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callShortArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callShortArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aadcc0dbc3a2ea88ce2219e43cdbbb758}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callShortArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1174 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a0ab442f171a292858d79325a01c16a40}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callShortMethod@{callShortMethod}}
\index{callShortMethod@{callShortMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callShortMethod}]{\setlength{\rightskip}{0pt plus 5cm}short callShortMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a0ab442f171a292858d79325a01c16a40}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callShortMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily short} type. 
\end{DoxyReturn}


Definition at line 752 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aa02c281af74e1387183b776849f49c81}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callStringArrayMethod@{callStringArrayMethod}}
\index{callStringArrayMethod@{callStringArrayMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callStringArrayMethod}]{\setlength{\rightskip}{0pt plus 5cm}PyObject$\ast$ callStringArrayMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aa02c281af74e1387183b776849f49c81}


Invokes an instance method, specified using a method ID. 

Invokes an instance method, specified using a method ID. Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callStringArrayMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The result of calling the method -\/-\/-\/ {\ttfamily Python} tuple. 
\end{DoxyReturn}


Definition at line 1327 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a26d45f8e249da512169963a749c05391}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callStringMethod@{callStringMethod}}
\index{callStringMethod@{callStringMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callStringMethod}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ callStringMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_a26d45f8e249da512169963a749c05391}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callStringMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily The} result of calling the method. Value of the {\ttfamily char$\ast$} type. 
\end{DoxyReturn}


Definition at line 907 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_aeb06b15b0b7b498ece994c99b3f81960}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!callVoidMethod@{callVoidMethod}}
\index{callVoidMethod@{callVoidMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{callVoidMethod}]{\setlength{\rightskip}{0pt plus 5cm}void callVoidMethod (void $\ast$ {\em midUInt}, \/   {\em ...})}\hfill}
\label{_python_calls_java_8h_aeb06b15b0b7b498ece994c99b3f81960}


Invokes an instance method, specified using a method ID. 

Programmers place all arguments that are to be passed to the method immediately following the {\ttfamily midUInt} argument. The {\ttfamily callVoidMethod} function accepts these arguments, converts and passes them to the method that the programmer would like to be invoked. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em midUInt}]An ID of the method, returned by {\ttfamily getMethod} function. \item[{\em ...}]Arguments to be passed in to the invokable method of the {\ttfamily Java} class. \end{DoxyParams}


Definition at line 692 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a3a81e7d58cdb84e5f0aa2ae685d69bb0}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!destroyEnvironment@{destroyEnvironment}}
\index{destroyEnvironment@{destroyEnvironment}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{destroyEnvironment}]{\setlength{\rightskip}{0pt plus 5cm}void destroyEnvironment ()}\hfill}
\label{_python_calls_java_8h_a3a81e7d58cdb84e5f0aa2ae685d69bb0}


Unloads {\ttfamily Java} class from the memory and destroys {\ttfamily JVM}. 

If they were errors they will be printed to the standard error output. 

Definition at line 1346 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a27596895923d8dd22bfe8acc49234abe}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!getMethod@{getMethod}}
\index{getMethod@{getMethod}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{getMethod}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ getMethod (const char $\ast$ {\em mName}, \/  const char $\ast$ {\em mSign})}\hfill}
\label{_python_calls_java_8h_a27596895923d8dd22bfe8acc49234abe}


Gets an ID of the method and returns pointer to it. Pointer in {\ttfamily Python} is stored like a number. 

Checks if ID of the given method is already in the {\ttfamily usedIDs} maps than returns ID from the map, else invokes {\ttfamily getMethodIDSafe}, puts ID in the map and returns it. In {\ttfamily Python} this value is stored as {\ttfamily ctypes.c\_\-void\_\-p}. If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em mName}]Name of the method in the class. \item[{\em mSign}]Signature of the method in the class. See {\ttfamily JNI} documentation for information about composing it.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to the method ID. 
\end{DoxyReturn}


Definition at line 228 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_a4ffcd31c6b497b6f63c7abc34e9672ad}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!loadJavaClass@{loadJavaClass}}
\index{loadJavaClass@{loadJavaClass}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{loadJavaClass}]{\setlength{\rightskip}{0pt plus 5cm}void loadJavaClass (const char $\ast$ {\em javaClassName})}\hfill}
\label{_python_calls_java_8h_a4ffcd31c6b497b6f63c7abc34e9672ad}


Loads a {\ttfamily Java} class in to the memory. 

If they were errors they will be printed to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em javaClassName}]Path to the {\ttfamily Java} class to be loaded without suffix {\ttfamily }.class. \end{DoxyParams}


Definition at line 190 of file PythonCallsJava.cc.

\hypertarget{_python_calls_java_8h_ad99601dff0a42852bc408d860ccbf358}{
\index{PythonCallsJava.h@{PythonCallsJava.h}!setSizeOfArrays@{setSizeOfArrays}}
\index{setSizeOfArrays@{setSizeOfArrays}!PythonCallsJava.h@{PythonCallsJava.h}}
\paragraph[{setSizeOfArrays}]{\setlength{\rightskip}{0pt plus 5cm}void setSizeOfArrays (unsigned int {\em size}, \/  unsigned int $\ast$ {\em arrays})}\hfill}
\label{_python_calls_java_8h_ad99601dff0a42852bc408d860ccbf358}


Sets size of passed to the AmiCo function array(s). 

If they were errors they would be emitted to the standard error output.


\begin{DoxyParams}{Parameters}
\item[{\em size}]Number of elements in array, that will be passed to this method. In other words {\ttfamily size} should be equal to the number of arrays that will be passed to the following function. \item[{\em arrays}]Array of length {\ttfamily size} of integers where each element means size of appropriate array in the following function.\end{DoxyParams}
\begin{DoxyAttention}{Attention}
This function should be invoked before calling of the method that takes arrays as arguments. 
\end{DoxyAttention}


Definition at line 1056 of file PythonCallsJava.cc.

